package isanfeng.tuxiaoer.pattern.structural.decorator.v1;

/**
 * @author 李红辉
 * @version 1.0
 * @date 2019/10/12 18:16
 */
public class BatterCakeWithEgg extends BatterCake {
    @Override
    public String getDesc() {
        return super.getDesc() + "加一个鸡蛋";
    }

    @Override
    public int getPrice() {
        return super.getPrice() + 2;
    }
}
